package com.greate.community.controller.master;

import com.greate.community.service.master.IndexAdminService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;

@RestController
@RequestMapping("/indexAdmin")
public class IndexAdminController {

    @Autowired
    private IndexAdminService indexAdminService;

    @RequestMapping("/index")
    public Object index(){
       return indexAdminService.getIndexBaseInfo();
    }
}
